from django.contrib import admin
from django.urls import path
from django.conf.urls import url
from Organization import views
urlpatterns = [
    path('admin/', admin.site.urls),
    url(r'deptHome/$', views.deptHome),
    url(r'deptCreate/$', views.deptCreate),
    url(r'deptRemove/(\d+)/$', views.deptRemove),
    url(r'deptUpdate/(\d+)/$', views.deptUpdate),
    url(r'deptQuery/$', views.deptQuery),

    url(r'posHome/$', views.posHome),
    url(r'posCreate/$', views.posCreate),
    url(r'posRemove/(\d+)/$', views.posRemove),
    url(r'posUpdate/(\d+)/$', views.posUpdate),
    url(r'posQuery/$', views.posQuery),

    url(r'staffHome/$', views.staffHome),
    url(r'staffCreate/$', views.staffCreate),
    url(r'staffRemove/(\d+)/$', views.staffRemove),
    url(r'staffUpdate/$', views.staffUpdate),
    url(r'staffQuery/$', views.staffQuery),

    url(r'userHome/$', views.userHome),
    url(r'userRemove/(\d+)/$', views.userRemove),
    url(r'userUpdate/(\d+)/$', views.userUpdate),
    url(r'userQuery/$', views.userQuery),

    url(r'login/$', views.login),
    url(r'register/$', views.register),
    url(r'base/$', views.base),
]